package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.TransportPurchaseOutDTO;
import com.hunttown.mes.rpc.domain.query.TransportPurchaseOutDTOQuery;

/**
 * created by wangjunfu on 2022-03-05 09:16:16
 */
public interface TransportPurchaseOutRpcService {

    TransportPurchaseOutDTO insert(TransportPurchaseOutDTO transportPurchaseOutDTO);

    Boolean updateInfoById(TransportPurchaseOutDTO transportPurchaseOutDTO);

    Boolean updateInfoByQuery(TransportPurchaseOutDTOQuery transportPurchaseOutDTOQuery);

    TransportPurchaseOutDTO selectById(Integer id);

    TransportPurchaseOutDTO selectObjByQuery(TransportPurchaseOutDTOQuery transportPurchaseOutDTOQuery);

    Page<TransportPurchaseOutDTO> getListForPage(TransportPurchaseOutDTOQuery transportPurchaseOutDTOQuery);

    Boolean deleteById(Integer id);
}